package com.yzmoney.wechat.model.token;

/**
 *
 * auth2.0 用户信息
 *
 */
public class AuthUserInfoJson {

	private String openid;
	private String nickname;
	private String headimgurl;
	private String unionid;
	private Integer subType;
	private String type;
	private String scene;

	public AuthUserInfoJson(String openid,
							String nickname,
							String headimgurl) {
		this.openid = openid;
		this.nickname = nickname;
		this.headimgurl = headimgurl;
	}

	public AuthUserInfoJson(String openid,
							String nickname,
							String headimgurl,
							String unionid
	) {
		this.openid = openid;
		this.nickname = nickname;
		this.headimgurl = headimgurl;
		this.unionid = unionid;
	}
	public AuthUserInfoJson(String openid,
							String nickname,
							String headimgurl,
							String unionid,
							String scene
	) {
		this.openid = openid;
		this.nickname = nickname;
		this.headimgurl = headimgurl;
		this.unionid = unionid;
		this.scene = scene;
	}
	public AuthUserInfoJson(String openid,
							String nickname,
							String headimgurl,
							String unionid,
							String scene,
							Integer subType
	) {
		this.openid = openid;
		this.nickname = nickname;
		this.headimgurl = headimgurl;
		this.unionid = unionid;
		this.scene = scene;
		this.subType = subType;
	}
	public AuthUserInfoJson() {
		super();
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getScene() {
		return scene;
	}

	public void setScene(String scene) {
		this.scene = scene;
	}

	public Integer getSubType() {
		return subType;
	}

	public void setSubType(Integer subType) {
		this.subType = subType;
	}
}
